<template>
    <div>
        <Keep-alive>
            <router-view v-if="$route.meta.needkeep"/>
        </Keep-alive>

        <router-view v-if="!$route.meta.needkeep"/>

    </div>
</template>

<script>

export default {

}
</script>

<style>
.box{
    width: 100px;
    height: 100px;
    background: red;
}
</style>
